<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?php 
error_reporting(0);
session_start();
include_once 'conn.php';
include_once 'clsEssentials.php';
include_once 'clsFormLayouts.php';
$arrUserData = array();
$objMyClass = new clsEssentials();
$objFormPopulateClass = new clsFormLayouts();
if(!isset($_SESSION["UserName"]))
{
	header("../index.html");
	exit;
}
$userName = $_SESSION["UserName"];
?>
<?php include '../common-files/admin-head.php'; ?>
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script type="text/javascript" src="../gooeymenu.js"></script>
<link rel="stylesheet" type="text/css" href="../gooeymenu.css" />
<body>
<!-- Panel -->
 <div id="outlineborder">
 <div class="main">
 <?php include '../common-files/admin-header.php'; ?>
     <div class="rptcontenttop">
	   <div class="rptcontenttopleft">
	      <?php include '../common-files/admin-side-bar.php'; ?>
	   </div>
	   <div class="rptcontenttopright">
	      <div id="maincontent">
		   <div id="contenthead">
		    Welcome, <?php echo ucfirst($userName); ?>
		   </div>
		   <div id="linehead">
		   </div>
		   <div class="contenttext">
		   <div class="coutline">
		 		<?php 
		 		if($_REQUEST['page']=="change-password")
		 		{
		 			print $objFormPopulateClass->frmPopulateChangePassword();
		 		}
		 		else if($_REQUEST['page']=="change-number")
		 		{
		 			print $objFormPopulateClass->frmPopulateChangeNumber();
		 		}
		 		else if($_REQUEST['page']=="change-email")
		 		{
		 			print $objFormPopulateClass->frmPopulateEmailAddress();
		 		}
		 		else if($_REQUEST['page']=="add-feedback")
		 		{
		 			print $objFormPopulateClass->frmPopulateAddFeedBack();
		 		}
				else if($_REQUEST['page']=="all-feedback")
		 		{
		 			print $objFormPopulateClass->frmPopulateAllFeedBack();
		 		}
				
		 		else if($_REQUEST['page']=="all-packages")
		 		{
		 			print $objFormPopulateClass->frmPopulateAllPackages();
		 		}
		 		else if($_REQUEST['page']=="contact-requests")
		 		{
		 			print $objFormPopulateClass->frmPopulateAllContactRequests();
		 		}
		 		?>
			</div>
		   </div>
		  </div>
		 
	   </div>
</div>
<div class="bottomlinks">
  <?php include '../common-files/bottom-links.php'; ?>
</div>
<div class="footer">
   <?php include '../common-files/footer.php'; ?>
</div>
</div>
</div>
</body>
</html>